package com.design.patterns.structuralModel.visitor.service.action;

import com.design.patterns.structuralModel.visitor.service.person.Man;
import com.design.patterns.structuralModel.visitor.service.person.Woman;

public class Success extends Action {
    @Override
    public void getManResult(Man man) {
        System.out.println(" 男人给的评价该歌手很成功 !");
    }

    @Override
    public void getWomanResult(Woman woman) {
        System.out.println(" 女人给的评价该歌手很成功 !");
    }


}
